/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    location    "system/VoF";
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;

w          50;
h          100;

wCells     80;
hCells     80;

wGrading
(
    (0.1 1    1)
    (0.9 2.25 10)
);

vertices
(
    (0    0   -1)
    ($w   0   -1)
    (0    $h  -1)
    ($w   $h  -1)

    (0    0    0)
    ($w   0    0)
    (0    $h   0)
    ($w   $h   0)

);

blocks
(
    hex (0 1 3 2 4 5 7 6)
    ($wCells $hCells 1)
    simpleGrading ($wGrading 1 1)
);

boundary
(
    film
    {
        type            mappedExtrudedWall;
        neighbourRegion film;
        neighbourPatch  surface;
        isExtrudedRegion no;

        faces
        (
            (0 2 6 4)
        );
    }

    vessel
    {
        type symmetryPlane;
        faces
        (
            (1 3 7 5)
        );
    }

    bottom
    {
        type patch;
        faces
        (
            (0 1 5 4)
        );
    }

    atmosphere
    {
        type patch;
        faces
        (
            (2 3 7 6)
        );
    }

    back
    {
        type empty;
        faces
        (
            (0 2 3 1)
        );
    }

    front
    {
        type empty;
        faces
        (
            (4 5 7 6)
        );
    }
);


// ************************************************************************* //
